package com.adong.tv.model;

import java.io.Serializable;
import java.util.List;

/**
 * 影片数据模型
 */
public class Movie implements Serializable {
    
    private int vodId;           // 视频ID
    private int typeId;          // 分类ID
    private int typeId1;         // 一级分类ID
    private String vodName;      // 视频名称
    private String typeName;     // 分类名称
    private String vodEn;        // 视频英文名
    private String vodTime;      // 更新时间
    private String vodRemarks;   // 备注（更新集数等）
    private String vodPlayFrom;  // 播放源
    
    // 视频详情
    private String vodPic;       // 封面图片
    private String vodActor;     // 演员
    private String vodDirector;  // 导演
    private String vodBlurb;     // 简要描述
    private String vodContent;   // 详细描述
    private String vodArea;      // 地区
    private String vodYear;      // 年份
    private String vodPlayUrl;   // 播放地址（格式：1$url#2$url）
    
    // 剧集列表（解析vodPlayUrl）
    private List<Episode> episodes;
    
    public Movie() {
    }
    
    public int getVodId() {
        return vodId;
    }
    
    public void setVodId(int vodId) {
        this.vodId = vodId;
    }
    
    public int getTypeId() {
        return typeId;
    }
    
    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }
    
    public int getTypeId1() {
        return typeId1;
    }
    
    public void setTypeId1(int typeId1) {
        this.typeId1 = typeId1;
    }
    
    public String getVodName() {
        return vodName;
    }
    
    public void setVodName(String vodName) {
        this.vodName = vodName;
    }
    
    public String getTypeName() {
        return typeName;
    }
    
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    
    public String getVodEn() {
        return vodEn;
    }
    
    public void setVodEn(String vodEn) {
        this.vodEn = vodEn;
    }
    
    public String getVodTime() {
        return vodTime;
    }
    
    public void setVodTime(String vodTime) {
        this.vodTime = vodTime;
    }
    
    public String getVodRemarks() {
        return vodRemarks;
    }
    
    public void setVodRemarks(String vodRemarks) {
        this.vodRemarks = vodRemarks;
    }
    
    public String getVodPlayFrom() {
        return vodPlayFrom;
    }
    
    public void setVodPlayFrom(String vodPlayFrom) {
        this.vodPlayFrom = vodPlayFrom;
    }
    
    public String getVodPic() {
        return vodPic;
    }
    
    public void setVodPic(String vodPic) {
        this.vodPic = vodPic;
    }
    
    public String getVodActor() {
        return vodActor;
    }
    
    public void setVodActor(String vodActor) {
        this.vodActor = vodActor;
    }
    
    public String getVodDirector() {
        return vodDirector;
    }
    
    public void setVodDirector(String vodDirector) {
        this.vodDirector = vodDirector;
    }
    
    public String getVodBlurb() {
        return vodBlurb;
    }
    
    public void setVodBlurb(String vodBlurb) {
        this.vodBlurb = vodBlurb;
    }
    
    public String getVodContent() {
        return vodContent;
    }
    
    public void setVodContent(String vodContent) {
        this.vodContent = vodContent;
    }
    
    public String getVodArea() {
        return vodArea;
    }
    
    public void setVodArea(String vodArea) {
        this.vodArea = vodArea;
    }
    
    public String getVodYear() {
        return vodYear;
    }
    
    public void setVodYear(String vodYear) {
        this.vodYear = vodYear;
    }
    
    public String getVodPlayUrl() {
        return vodPlayUrl;
    }
    
    public void setVodPlayUrl(String vodPlayUrl) {
        this.vodPlayUrl = vodPlayUrl;
    }
    
    public List<Episode> getEpisodes() {
        return episodes;
    }
    
    public void setEpisodes(List<Episode> episodes) {
        this.episodes = episodes;
    }
    
    /**
     * 剧集数据模型
     */
    public static class Episode implements Serializable {
        private String name;  // 剧集名称（如"第1集"）
        private String url;   // 播放地址
        
        public Episode(String name, String url) {
            this.name = name;
            this.url = url;
        }
        
        public String getName() {
            return name;
        }
        
        public void setName(String name) {
            this.name = name;
        }
        
        public String getUrl() {
            return url;
        }
        
        public void setUrl(String url) {
            this.url = url;
        }
    }
} 